﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LevenBlog.Core.Utils
{
    public class ErrorException : Exception
    {
        public string Title { get; private set; }
        public string Url { get; private set; }

        public ErrorException(string title, string message, string url)
            : base(message)
        {
            Title = title;
            Url = url;
        }

        public ErrorException(string message)
            : this(string.Empty,message,string.Empty)
        {
        }

        public ErrorException(string title, string message)
            : this(title, message, string.Empty)
        {
        }
    }
}
